IdeaBlade DevForce 2010 Help Reference
PropertyInterceptor<TInstance,TValue,TArgs> Constructor
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > PropertyInterceptor<TInstance,TValue,TArgs> Class : PropertyInterceptor<TInstance,TValue,TArgs> Constructor



targetName
direction
baseAction
buildArgsFunc
Creates an instance of this class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal targetName As String, _
   ByVal direction As PropertyDirection, _
   ByVal baseAction As Action(Of TArgs), _
   ByVal buildArgsFunc As Func(Of TInstance,Object,TArgs) _
)
Visual Basic (Usage)Copy Code
Dim targetName As String
Dim direction As PropertyDirection
Dim baseAction As Action(Of TArgs)
Dim buildArgsFunc As Func(Of TInstance,Object,TArgs)
 
Dim instance As New PropertyInterceptor(Of TInstance,TValue,TArgs)(targetName, direction, baseAction, buildArgsFunc)
C# 
public PropertyInterceptor<TInstance,TValue,TArgs>( 
   string targetName,
   PropertyDirection direction,
   Action<TArgs> baseAction,
   Func<TInstance,object,TArgs> buildArgsFunc
)
C++/CLI 
public:
PropertyInterceptor<TInstance,TValue,TArgs>( 
   String^ targetName,
   PropertyDirection direction,
   Action<TArgs^>^ baseAction,
   Func<TInstance^,Object^,TArgs^>^ buildArgsFunc
)

Parameters

targetName
direction
baseAction
buildArgsFunc

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.